package com.wangzhenyu.common.loadmore

class PageInfo {
    //当前页码
    var page = 0

    //下一页
    fun nextPage() {
        page++
    }

    //重置页码
    fun reset() {
        page = 0
    }

    //判断是否为首页
    fun isFirstPage(): Boolean {
        return page == 0
    }
}